#ifndef INC_EVALUATION
#define INC_EVALUATION

#include <sqlite3.h>
#include <iostream>
#include <time.h>

#include "symptoms.h"
#include "itos.h"

using namespace std;

class Evaluation {
	private:
		symptom *syms;
		
		int when;
		int patient_id;
		
	public:
		Evaluation () {}
	// 	Evaluation (sqlite3 *db, string when);
		~Evaluation ();
		void readEvaluationData();
		
		void getEvaluationDataFromDB();
		int getTime() {return this->when; }
		
		void setPatientId(int id) {this->patient_id = id; }
		void setSymptoms(symptom *syms) {this->syms = syms; }
		void setTime() { this->when = time(0); }
		void setTime(string time);
		void setTime(int time) {this->when = time; }
		
		symptom *getSymptoms() {return this->syms; }
		
		char *buildSqlString();

};

#endif
